# a=client2
# $a:$a.cpp
# 	g++ -o $@ $^ -std=c++11 -lpthread
# .PHONY:clean
# clean:
# 	rm -rf $(a)

# .PHONY:all
# all:server client
# server:server.cc
# 	g++ -o $@ $^ -std=c++11 -lpthread
# client:10.tcp_cli.cc
# 	g++ -o $@ $^ -std=c++11 -lpthread
# .PHONY:clean
# clean:
# 	rm -rf tcp_svr tcp_cli server client


.PHONY:all
all:tcp_svr tcp_cli
tcp_svr:7.tcp_svr.cc
	g++ -o $@ $^ -std=c++11 -lpthread -g
tcp_cli:7.tcp_cli.cc
	g++ -o $@ $^ -std=c++11 -lpthread -g
.PHONY:clean
clean:
	rm -rf tcp_svr tcp_cli

